import 'package:play_android/com/zhihaoliang/const/Config.dart';

///  ***************************************************************************
///  网络请求的异常
///  ***************************************************************************

class HttpException implements Exception {
  ///发生错误的url
  String url;

  ///错误的消息
  String message;

  //错误的code
  int errorCode;

  HttpException(this.message, this.url, [this.errorCode]) {
    if (Config.DEBUG) {
      print(message);
    }
  }
}
